namespace FytSoa.Application.Erp.Param;

public class ErpProduceOrderAddParam
{
    public ErpProduceOrderDto Order { get; set; }
    
    public List<ErpProduceDetailParam> Detail { get; set; }
    
    
    public List<ErpProduceOrderCraftDto> Craft { get; set; }
}

/// <summary>
/// 添加生产产品参数对象
/// </summary>
public class ErpProduceDetailParam
{
    /// <summary>
    /// 产品编号
    /// </summary>
    public long ProductId { get; set; } = 0;

    /// <summary>
    /// 产品数量
    /// </summary>
    public int Count { get; set; } = 0;

    /// <summary>
    /// 产品价格
    /// </summary>
    public decimal Price { get; set; } = 0;
}